﻿using System;
using System.Collections.Generic;
using System.Text;

namespace LeafHttp
{
    /// <summary>
    /// HttpCookie
    /// </summary>
    public class HttpCookie
    {
        public string Name { get; set; }
        public string Value { get; set; }
        public string Path { get; set; }
        public string Domain { get; set; }

        public HttpCookie(string name, string value)
            : this(name, value, null, null)
        {

        }

        public HttpCookie(string name, string value, string path)
            : this(name, value, path, null)
        {

        }

        public HttpCookie(string name, string value, string path, string domain)
        {
            this.Name = name;
            this.Value = value;
            this.Path = path;
            this.Domain = domain;
        }
    }
}
